﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.SecondarySpriteTexture
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>Encapsulates a Texture2D and its shader property name to give Sprite-based renderers access to a secondary texture, in addition to the main Sprite texture.</para>
  /// </summary>
  [Serializable]
  public struct SecondarySpriteTexture
  {
    /// <summary>
    ///   <para>The shader property name of the secondary Sprite texture. Use this name to identify and sample the texture in the shader.</para>
    /// </summary>
    public string name;
    /// <summary>
    ///   <para>The texture to be used as a secondary Sprite texture.</para>
    /// </summary>
    public Texture2D texture;
  }
}
